package com.vibration.socket.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class DataList implements Serializable {

    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    private Date dataTime;

    private List<Float> dataZ; //Z 分量 1000 个 float 类型的采样数据
    private List<Float> dataX; //X 分量 1000 个 float 类型的采样数据
    private List<Float> dataY; //Y 分量 1000 个 float 类型的采样数据

    public Date getDataTime() {
        return dataTime;
    }

    public void setDataTime(Date dataTime) {
        this.dataTime = dataTime;
    }

    public List<Float> getDataZ() {
        return dataZ;
    }

    public void setDataZ(List<Float> dataZ) {
        this.dataZ = dataZ;
    }

    public List<Float> getDataX() {
        return dataX;
    }

    public void setDataX(List<Float> dataX) {
        this.dataX = dataX;
    }

    public List<Float> getDataY() {
        return dataY;
    }

    public void setDataY(List<Float> dataY) {
        this.dataY = dataY;
    }

}
